package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仓库管理对象 stash
 * 
 * @author ruoyi
 * @date 2024-05-13
 */
public class Stash extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仓库编号 */
    private Long id;

    /** 仓库类型 */
    @Excel(name = "仓库类型")
    private String type;

    /** 仓库总容量 */
    @Excel(name = "仓库总容量")
    private Long cap;

    /** 仓库剩余容量 */
    @Excel(name = "仓库剩余容量")
    private Long resCap;

    /** 仓库库位数 */
    @Excel(name = "仓库库位数")
    private Long storNum;

    /** 仓库库位信息 */
    @Excel(name = "仓库库位信息")
    private String storInfo;

    /** 负责人 */
    @Excel(name = "负责人")
    private String prin;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatime;

    /** 备注 */
    @Excel(name = "备注")
    private String reamark;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setCap(Long cap) 
    {
        this.cap = cap;
    }

    public Long getCap() 
    {
        return cap;
    }
    public void setResCap(Long resCap) 
    {
        this.resCap = resCap;
    }

    public Long getResCap() 
    {
        return resCap;
    }
    public void setStorNum(Long storNum) 
    {
        this.storNum = storNum;
    }

    public Long getStorNum() 
    {
        return storNum;
    }
    public void setStorInfo(String storInfo) 
    {
        this.storInfo = storInfo;
    }

    public String getStorInfo() 
    {
        return storInfo;
    }
    public void setPrin(String prin) 
    {
        this.prin = prin;
    }

    public String getPrin() 
    {
        return prin;
    }
    public void setCreatime(Date creatime) 
    {
        this.creatime = creatime;
    }

    public Date getCreatime() 
    {
        return creatime;
    }
    public void setReamark(String reamark) 
    {
        this.reamark = reamark;
    }

    public String getReamark() 
    {
        return reamark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("cap", getCap())
            .append("resCap", getResCap())
            .append("storNum", getStorNum())
            .append("storInfo", getStorInfo())
            .append("prin", getPrin())
            .append("creatime", getCreatime())
            .append("reamark", getReamark())
            .toString();
    }
}
